function mix = transformGMM2DProj(state, mix)

trans = state(1:2);
proj = reshape(state(3:6), 2, 2);

mix.centres = [proj*mix.centres']' + repmat(trans, mix.ncentres, 1);
for i = 1:mix.ncentres
    mix.covars(:, :, i) = proj*mix.covars(:, :, i)*proj';
end
